home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gTB
- set the visible of sprite 47 to 1
- set x to doPopMenu(48, the left of sprite the clickOn, the top of sprite the clickOn)
- if x > 0 then
- put line x of field "Fields" into field "fld"
- end if
- if field "fld" = "All Shareware" then
- go("findall")
- end if
- puppetSound(1, "sound4")
- mSetCriteria(gTB, "category", "start", field "fld")
- mSelect(gTB)
- set n to mSelectCount(gTB)
- if n <> 0 then
- put n into field "NumberFound"
- put mGetField(gTB, "category") into field "zcategory"
- put mGetField(gTB, "name") into field "Name"
- put mGetField(gTB, "filepath") into field "Path"
- put mGetField(gTB, "description") into field "zdesc"
- put mGetField(gTB, "url") into field "zurl"
- put mGetField(gTB, "contact") into field "zspecial"
- else
- nothing()
- end if
- showSelection()
- end
-